﻿/**
 *
 * active.h
 *
 *  Created on: 2019-10-21
 *      Author: chenshisheng
 */

#ifndef ACTIVE_H_
#define ACTIVE_H_

#include "main.h"

typedef enum
{
    Active_Serail,
    Active_User,
    Active_Ctimer,
    Active_Rf,
    Active_Hw,
    Active_Stdio,
}Active_t;

void Active_Init(void);
void Active_Set(Active_t act, bool isActive);
bool Active_IsSetted(Active_t act);
bool Active_HaveAction(void);

#endif /* ACTIVE_H_ */
